package com.example.mall.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Score implements Serializable {
    @ApiModelProperty(value = "唯一标识每条评分记录")
    private Integer scoreid;

    @ApiModelProperty(value = "供应商ID")
    private Integer supplierid;

    @ApiModelProperty(value = "考核周期，与绩效考核数据对应的周期")
    private String period;

    @ApiModelProperty(value = "根据绩效评估模型和考核数据计算出的总得分")
    private BigDecimal totalscore;

    @ApiModelProperty(value = "生成评分的日期")
    private Date scoredate;

    @ApiModelProperty(value = "评级等级，如'A级'、'B级'等")
    private String ratinglevel;

    @ApiModelProperty(value = "对评级结果的描述或解释")
    private String ratingdescription;

    @ApiModelProperty(value = "创建时间")
    private Date createtime;

    @ApiModelProperty(value = "更新时间")
    private Date updatetime;

    private static final long serialVersionUID = 1L;

    public Integer getScoreid() {
        return scoreid;
    }

    public void setScoreid(Integer scoreid) {
        this.scoreid = scoreid;
    }

    public Integer getSupplierid() {
        return supplierid;
    }

    public void setSupplierid(Integer supplierid) {
        this.supplierid = supplierid;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public BigDecimal getTotalscore() {
        return totalscore;
    }

    public void setTotalscore(BigDecimal totalscore) {
        this.totalscore = totalscore;
    }

    public Date getScoredate() {
        return scoredate;
    }

    public void setScoredate(Date scoredate) {
        this.scoredate = scoredate;
    }

    public String getRatinglevel() {
        return ratinglevel;
    }

    public void setRatinglevel(String ratinglevel) {
        this.ratinglevel = ratinglevel;
    }

    public String getRatingdescription() {
        return ratingdescription;
    }

    public void setRatingdescription(String ratingdescription) {
        this.ratingdescription = ratingdescription;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", scoreid=").append(scoreid);
        sb.append(", supplierid=").append(supplierid);
        sb.append(", period=").append(period);
        sb.append(", totalscore=").append(totalscore);
        sb.append(", scoredate=").append(scoredate);
        sb.append(", ratinglevel=").append(ratinglevel);
        sb.append(", ratingdescription=").append(ratingdescription);
        sb.append(", createtime=").append(createtime);
        sb.append(", updatetime=").append(updatetime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}